﻿using System;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Domain.Entities;

namespace SanJ.FreeCare.Peis.Configure.ProductPage
{
    public class ProductDto : FullAuditedEntityDto<Guid>, IHasConcurrencyStamp
    {

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 助记码
        /// </summary>
        public string? Spell {  get; set; }

        /// <summary>
        /// 允许的数据类型, json数组 
        /// </summary>
        public string? PermittedDataType { get; set; }

        /// <summary>
        /// 项目分类 json数组 
        /// </summary>
        public string? Category { get; set; }

        /// <summary>
        /// 项目类型 即checked select input 
        /// </summary>
        public string? UiControlType { get; set; }

        /// <summary>
        /// 单位 支持多个 Json数组存储
        /// </summary>
        public string? PermittedUnit { get; set; }
        /// <summary>
        /// 报告内名称
        /// </summary>
        public string? PreferredReportName { get; set; }

        /// <summary>
        /// 项目详细描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 显示顺序
        /// </summary>
        public int? DisplayOrder { get; set; }


        /// <summary>
        /// 类型
        /// </summary>
        public string ConcurrencyStamp { get; set; } = null!;
    }
}